package com.example.dagger2one.model;

import java.io.Serializable;

/**
 * @作者: njb
 * @时间: 2019/7/19 10:17
 * @描述:
 */
public class User implements Serializable {
    private String id;
    private String name;
    private String headUrl;
    public User(){

    }
    public User(String id, String name, String headUrl){
        this.id = id;
        this.name = name;
        this.headUrl = headUrl;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getHeadUrl() {
        return headUrl;
    }
    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    @Override
    public String toString() {
        return "id = " + id
                + "; name = " + name
                + "; headUrl = " + headUrl;
    }
}
